package entity.offer;

import entity.offer.bid.Bid;

import java.io.Serializable;

public class Offer implements Serializable{

    private Type type;
    private Bid bid;

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public Bid getBid() {
        return bid;
    }

    public void setBid(Bid bid) {
        this.bid = bid;
    }

    @Override
    public String toString() {
        return  type + bid.toString();
    }
}
